﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="line.aspx.cs" Inherits="HFWebApp.line" %>
<%@ Register src="Control/top.ascx" tagname="top" tagprefix="uc1" %>
<%@ Register src="Control/end.ascx" tagname="end" tagprefix="uc2" %>
<%@ Register src="Control/c_ProvinceForKey.ascx" tagname="c_ProvinceForKey" tagprefix="uc3" %>
<%@ Register src="Control/c_LegalAffarisClass_4.ascx" tagname="c_LegalAffarisClass_4" tagprefix="uc4" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE8" />
<title>律师在线__红法网</title>
    <link href="Style/Style.css" rel="stylesheet" type="text/css" />
    <link href="CSS.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript" src="Scripts/jquery-1.8.0.min.js"></script>
    <script type="text/javascript" src="Scripts/WebFunction.js"></script>
    <script type="text/javascript" src="javascript/SwitchTags.js"></script>
    <script type="text/javascript">
        $(function () {
            loadProvince('provinceid', 'cityid');
            loadLegalAffairs('classid');
        });
    </script>
</head>

<body>
<uc1:top ID="top1" MenuClassID="4" focusLink4="focusLink" runat="server" />
<div class="hr5"></div>
<table width="980" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td width="330" height="200" valign="top"><table width="330" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td height="160" align="center" bgcolor="#feae3b"><script type="text/javascript">
                        var linkarr = new Array();
                        var picarr = new Array();
                        var textarr = new Array();
                        <%
                            int i = 0;
                            foreach(hf.Model.News n in rotationNewsList)
                            {
                         %>
                            linkarr[<%=i %>] = "<%=this.getDemain %>/news/NewsContent.aspx?NewsID=<%=n.ID %>";
                            picarr[<%=i %>] = "<%=this.getManageDemain + this.getUpFileFolder + n.PicTitle %>";
                            textarr[<%=i %>] = "<%=n.Title %>";
                         <%
                            i++;
                            }
                         %>
                        adList(322, 152 ,linkarr ,picarr ,textarr);             
                    </script></td>
      </tr>
    </table>
      <table width="330" border="0" cellpadding="0" cellspacing="0" class="bk_zx" style="margin-top:11px">
        <tr>
          <td height="105" valign="top"><table width="328" border="0" cellspacing="0" cellpadding="0" style="margin-bottom:8px">
            <tr>
              <td height="28" class="bt_hong_14" style="padding-left:22px">在线律师即时咨询</td>
              <td align="right" class="h_24" style="padding-right:8px">更多&gt;&gt;</td>
            </tr>
          </table>
          <div style="width:285px; overflow:hidden; margin-left:auto; margin-right:auto">
              <asp:Repeater ID="online_layerList" runat="server">
                 <ItemTemplate>
                    <div style="float:left; width:142px; height:32px; line-height:32px;"><a href="/lawyeruser/lawyer.aspx?id=<%#Eval("ID") %>"><%#Eval("RealName") %></a> <a href="/lawyeruser/lawyerlist.aspx?provinceid=<%#Eval("ProvinceID") %>"><%#this.getProvinceName(Eval("ProvinceID").ToString()).Replace("省", "")%><%#this.getCityName(Eval("CityID").ToString()).Replace("市", "")%></a> <a href="/lawyeruser/lawyer.aspx?id=<%#Eval("ID") %>" class="linkcolor1">交谈</a></div>
                 </ItemTemplate>
              </asp:Repeater>
          </div></td>
        </tr>
    </table>
      <table width="330" border="0" cellpadding="0" cellspacing="0" class="bk_zx" style="margin-top:11px">
        <tr>
          <td height="314" valign="top"><table width="328" border="0" cellspacing="0" cellpadding="0" style="margin-bottom:8px">
            <tr>
              <td height="28" class="bt_hong_14" style="padding-left:22px">最新已解决法律问题</td>
              <td align="right" class="h_24" style="padding-right:8px"><a href="<%=this.getDemain %>/FAQs/asklist.aspx?styletypeid=5">更多&gt;&gt;</a></td>
            </tr>
          </table>
             <asp:Repeater ID="newoverAsk_list" runat="server">
                <ItemTemplate>
                    <table width="310" border="0" align="center" cellpadding="0" cellspacing="0" class="h_28">
                      <tr>
                        <td>◎ <a href="<%#this.getDemain %>/FAQs/askcontent.aspx?id=<%#Eval("ID") %>" class="linkcolor2"><%#Eval("Title") %></a></td>
                        <td width="70" align="right"><a href="#" class="linkcolor2"><%#Eval("LaywerName") %> 律师</a></td>
                      </tr>
                  </table>
                </ItemTemplate>
             </asp:Repeater>
             </td>
        </tr>
    </table>
      <table width="330" border="0" cellpadding="0" cellspacing="0" class="bk_zx" style="margin-top:11px">
        <tr>
          <td valign="top"><table width="328" border="0" cellspacing="0" cellpadding="0" style="margin-bottom:3px">
            <tr>
              <td height="28" class="bt_hong_14" style="padding-left:22px">按专长找律师</td>
              <td align="right" class="h_24" style="padding-right:8px">更多&gt;&gt;</td>
            </tr>
          </table>
            <uc4:c_LegalAffarisClass_4 ID="c_LegalAffarisClass_41" LegalAffairsID="1" Count="8" runat="server" />
            <uc4:c_LegalAffarisClass_4 ID="c_LegalAffarisClass_1" LegalAffairsID="2" Count="8" runat="server" />
            <uc4:c_LegalAffarisClass_4 ID="c_LegalAffarisClass_2" LegalAffairsID="3" Count="8" runat="server" />
            <uc4:c_LegalAffarisClass_4 ID="c_LegalAffarisClass_3" LegalAffairsID="4" Count="4" runat="server" /></td>
        </tr>
    </table>
      <table width="330" border="0" cellpadding="0" cellspacing="0" class="bk_zx" style="margin-top:11px">
        <tr>
          <td height="210" valign="top"><table width="328" border="0" cellspacing="0" cellpadding="0" style="margin-bottom:8px">
            <tr>
              <td height="28" class="bt_hong_14" style="padding-left:22px">招聘信息</td>
              <td align="right" class="h_24" style="padding-right:8px"><a href="/job/JobsList.aspx">更多&gt;&gt;</a></td>
            </tr>
          </table>
              <asp:Repeater ID="recruitment_List" runat="server">
                <ItemTemplate>
                    <table width="310" border="0" align="center" cellpadding="0" cellspacing="0" class="h_28">
                      <tr>
                        <td>◎ <a href="/job/JobsContent.aspx?id=<%#Eval("ID") %>"><%#Eval("Content")%></a></td>
                        <td width="70" align="right"><%#DateTime.Parse(Eval("AddTime").ToString()).ToShortDateString() %></td>
                      </tr>
                    </table>
                </ItemTemplate>
              </asp:Repeater>
            </td>
        </tr>
    </table></td>
    <td align="center" valign="top"><table width="430" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td height="31" valign="bottom" background="images/bt_bj_16.jpg"><table width="111" border="0" cellspacing="0" cellpadding="0" style="margin-left:6px">
          <tr>
            <td height="26" align="center" background="images/bt_bj_13.jpg" class="bt_h_14">按地域找律师</td>
          </tr>
        </table></td>
        </tr>
    </table>
      <table width="430" border="0" cellpadding="0" cellspacing="0" class="bk_xzy">
        <tr>
          <td height="245" valign="top"><table width="400" border="0" align="center" cellpadding="0" cellspacing="0" class="jh_12">
            <tr>
              <td height="34" align="left"><strong>热门城市：</strong> <a href="<%=this.getDemain %>/lawyeruser/lawyerlist.aspx?cityid=1" class="linkcolor1">北京</a> <a href="<%=this.getDemain %>/lawyeruser/lawyerlist.aspx?cityid=3" class="linkcolor1">上海</a> <a href="<%=this.getDemain %>/lawyeruser/lawyerlist.aspx?cityid=20" class="linkcolor1">深圳</a> <a href="<%=this.getDemain %>/lawyeruser/lawyerlist.aspx?cityid=4" class="linkcolor1">重庆</a> <a href="<%=this.getDemain %>/lawyeruser/lawyerlist.aspx?cityid=2" class="linkcolor1">天津</a> <a href="<%=this.getDemain %>/lawyeruser/lawyerlist.aspx?cityid=18" class="linkcolor1">武汉</a> <a href="<%=this.getDemain %>/lawyeruser/lawyerlist.aspx?cityid=11" class="linkcolor1">南京</a> <a href="<%=this.getDemain %>/lawyeruser/lawyerlist.aspx?cityid=28" class="linkcolor1">西安</a> </td>
            </tr>
          </table>
            <table width="400" border="0" align="center" cellpadding="0" cellspacing="0" class="l_27">
              <tr>
                <td align="left">A <uc3:c_ProvinceForKey key="a" ID="c_ProvinceForKey1" runat="server" />
&nbsp;B <uc3:c_ProvinceForKey key="b" ID="c_ProvinceForKey2" runat="server" /> C <uc3:c_ProvinceForKey key="c" ID="c_ProvinceForKey3" runat="server" /> F <uc3:c_ProvinceForKey key="f" ID="c_ProvinceForKey4" runat="server" /> G <uc3:c_ProvinceForKey key="g" ID="c_ProvinceForKey5" runat="server" /><br />
                  H <uc3:c_ProvinceForKey key="h" ID="c_ProvinceForKey6" runat="server" /><br />
                  J <uc3:c_ProvinceForKey key="j" ID="c_ProvinceForKey7" runat="server" /> N <uc3:c_ProvinceForKey key="n" ID="c_ProvinceForKey8" runat="server" /> Q <uc3:c_ProvinceForKey key="q" ID="c_ProvinceForKey9" runat="server" /> Y <uc3:c_ProvinceForKey key="y" ID="c_ProvinceForKey10" runat="server" /><br />
                S <uc3:c_ProvinceForKey key="s" ID="c_ProvinceForKey11" runat="server" /> T <uc3:c_ProvinceForKey key="t" ID="c_ProvinceForKey12" runat="server" /> X <uc3:c_ProvinceForKey key="x" ID="c_ProvinceForKey13" runat="server" /> Z <uc3:c_ProvinceForKey key="z" ID="c_ProvinceForKey14" runat="server" /></td>
              </tr>
          </table>
            <table width="410" border="0" align="center" cellpadding="0" cellspacing="0" class="bk_h" style="margin-top:4px">
              <tr>
                <td height="90" align="center" valign="top"><table width="406" border="0" align="center" cellpadding="0" cellspacing="0" style="margin-top:1px">
                  <tr>
                    <td width="100" height="30" align="center" background="images/bt_bj_14.jpg" bgcolor="#eeeeee" class="bt_b">搜索律师</td>
                    <td bgcolor="#eeeeee">&nbsp;</td>
                  </tr>
                </table>
                  <table width="390" border="0" cellspacing="0" cellpadding="0" style="margin-top:10px">
                    <form id="searchForm" method="post" action="<%=this.getDemain %>/lawyeruser/lawyerlist.aspx">
                    <tr>
                      <td><select name="provinceid" id="provinceid" style="border:1px solid #7f9db9; width:80px" >
                        <option value="0">=省份=</option>
                      </select></td>
                      <td><select name="cityid" id="cityid" style="border:1px solid #7f9db9; width:80px" >
                        <option value="0">=城市=</option>
                      </select></td>
                      <td><select name="classid" id="classid" style="border:1px solid #7f9db9; width:105px" >
                        <option value="0">=全部类别=</option>
                      </select></td>
                      <td><input id="Button1" type="image" src="images/an_ss.jpg" /></td>
                    </tr>
                    </form>
                  </table></td>
              </tr>
          </table></td>
        </tr>
    </table>
      <table width="430" border="0" cellpadding="0" cellspacing="0" class="bt_bj_17" style="margin-top:12px">
        <tr>
          <td height="30" align="left"><span class="bt_h_14" style="padding-left:12px">在线律师即时咨询</span></td>
          <td align="right" style="padding-right:8px">更多&gt;&gt;</td>
        </tr>
    </table>
      <table width="430" border="0" cellpadding="0" cellspacing="0" class="bk_xzy">
        <tr>
          <td height="60" align="center">
          <div style=" width:400px; overflow:hidden; margin-left:auto; margin-right:auto">
              <asp:Repeater ID="online_layerlist2" runat="server">
                <ItemTemplate>
                    <div style="width:130px; height:27px; line-height:27px; float:left"><a href="/lawyeruser/lawyer.aspx?id=<%#Eval("ID") %>" class="message"><%#Eval("RealName") %></a> <a href="/lawyeruser/lawyerlist.aspx?provinceid=<%#Eval("ProvinceID") %>" class="message"><%#this.getProvinceName(Eval("ProvinceID").ToString()).Replace("省", "")%><%#this.getCityName(Eval("CityID").ToString()).Replace("市", "")%></a></div>
                </ItemTemplate>
              </asp:Repeater>
          </div></td>
        </tr>
    </table>
      <table width="430" border="0" cellpadding="0" cellspacing="0" class="bt_bj_17" style="margin-top:12px">
        <tr>
          <td height="30" align="left"><span class="bt_h_14" style="padding-left:12px">案件委托</span></td>
          <td align="right" style="padding-right:8px"><img src="images/an_fb_1.jpg" width="104" height="16" /></td>
        </tr>
      </table>
      <table width="430" border="0" cellpadding="0" cellspacing="0" class="bk_xzy">
        <tr>
          <td height="200" align="center" valign="top"><table width="418" border="0" cellpadding="0" cellspacing="0" class="h_24" style="margin-top:8px">
            <tr>
              <td width="78" align="center" bgcolor="#eeeeee">地区</td>
              <td width="200" align="center" bgcolor="#eeeeee">案件标题</td>
              <td width="60" align="center" bgcolor="#eeeeee" class="jh_12">涉案金额</td>
              <td align="center" bgcolor="#eeeeee">到期时间</td>
            </tr>
          </table>
              <asp:Repeater ID="caseDelegate_List" runat="server">
                <ItemTemplate>
                    <table width="418" border="0" cellpadding="0" cellspacing="0" class="l_27">
                      <tr>
                        <td width="78" align="center"><a href="/delegate/delegatelist.aspx?provinceid=<%#Eval("ProvinceID") %>" class="message">[<%#Eval("ProvinceName")%>]</a></td>
                        <td width="200" align="center"><a href="/delegate/delegatecontent.aspx?id=<%#Eval("ID") %>" class="message"><%#Eval("DelegateName")%></a></td>
                        <td width="60" align="center" class="jh_12">保密</td>
                        <td align="center" class="h_26"><%#DateTime.Parse(Eval("Endtime").ToString()).ToShortDateString()%></td>
                      </tr>
                   </table>
                </ItemTemplate>
              </asp:Repeater></td>
        </tr>
    </table>
      <table width="430" border="0" cellpadding="0" cellspacing="0" class="bt_bj_17" style="margin-top:12px">
        <tr>
          <td height="30" align="left"><span class="bt_h_14" style="padding-left:12px">最新法律咨询</span></td>
          <td align="right" style="padding-right:8px"><img src="images/an_fb_2.jpg" width="104" height="16" /></td>
        </tr>
      </table>
      <table width="430" border="0" cellpadding="0" cellspacing="0" class="bk_xzy">
        <tr>
          <td height="277" align="center" valign="top">
              <asp:Repeater ID="newAsk_list" runat="server"> 
                <ItemTemplate>
                    <table width="418" border="0" cellpadding="0" cellspacing="0" class="l_27">
                      <tr>
                        <td width="40" align="left"><a href="/FAQs/asklist.aspx?provinceid=<%#Eval("ProvinceID") %>" class="message">[<%#Eval("ProvinceName")%>]</a></td>
                        <td width="200" align="left"><a href="/FAQs/askcontent.aspx?id=<%#Eval("ID") %>" class="message"><%#Eval("Title")%></a></td>
                        <td width="80" align="right" class="h_24"><%#Eval("timeString")%></td>
                      </tr>
                    </table>
                </ItemTemplate>
              </asp:Repeater></td>
        </tr>
    </table>
      <table width="430" border="0" cellpadding="0" cellspacing="0" class="bt_bj_17" style="margin-top:12px">
        <tr>
          <td height="30" align="left"><span class="bt_h_14" style="padding-left:12px">律师合作</span></td>
          <td align="right" style="padding-right:8px">更多&gt;&gt;</td>
        </tr>
      </table>
      <table width="430" border="0" cellpadding="0" cellspacing="0" class="bk_xzy">
        <tr>
          <td height="180" align="center" valign="top">
          <asp:Repeater ID="team_list" runat="server">
                    <ItemTemplate>
                        <table width="418" border="0" cellpadding="0" cellspacing="0" class="l_27">
                            <tr>
                              <td width="40" align="left"><a href="#" class="message">[<%#Eval("ProvinceName") %>]</a></td>
                              <td height="30" align="left"><a href="#" class="message"><%#Eval("Title") %></a></td>
                              </tr>
                          </table>
                    </ItemTemplate>
                </asp:Repeater></td>
        </tr>
    </table></td>
    <td width="200" valign="top"><table width="200" border="0" cellpadding="0" cellspacing="0" class="bt_bj_18">
      <tr>
        <td height="31" valign="bottom" ><table width="111" border="0" cellspacing="0" cellpadding="0" style="margin-left:6px">
          <tr>
            <td height="26" align="center" background="images/bt_bj_13.jpg" class="bt_h_14">推荐律师</td>
          </tr>
        </table></td>
      </tr>
    </table>
      <table width="200" border="0" cellpadding="0" cellspacing="0" class="bk_xzy">
        <tr>
          <td height="540" valign="top">
              <asp:Repeater ID="lawyer_tuijianList" runat="server">
                <ItemTemplate>
                    <table width="190" border="0" align="center" cellpadding="0" cellspacing="0" style="margin-top:2px">
                    <tr>
                      <td width="85" height="105" align="center" bgcolor="#f3f8ff"><table width="74" border="0" cellpadding="0" cellspacing="0" class="bk_h">
                        <tr>
                          <td height="90" align="center" bgcolor="#FFFFFF"><a href="<%#this.getDemain %>/lawyeruser/lawyer.aspx?id=<%#Eval("ID") %>" class="linkcolor3"><img src="<%#this.getDemain + this.getUpFileFolder + Eval("HeadPic") %>" width="68" height="86" /></a></td>
                        </tr>
                      </table></td>
                      <td bgcolor="#f3f8ff"><table width="100" border="0" cellspacing="0" cellpadding="0">
                        <tr>
                          <td width="18" height="24" align="center"><img src="images/ico_1.jpg" width="18" height="17" /></td>
                          <td class="bt_l"><a href="<%#this.getDemain %>/lawyeruser/lawyer.aspx?id=<%#Eval("ID") %>" class="linkcolor3"><%#Eval("RealName") %>律师</a></td>
                        </tr>
                        <tr>
                          <td height="24" align="center"><img src="images/ico_2.jpg" width="18" height="17" /></td>
                          <td><a href="<%#this.getDemain %>/lawyeruser/lawyerlist.aspx?cityid=<%#Eval("CityID") %>"><%#this.getProvinceName(Eval("ProvinceID").ToString()).Replace("省", "")%><%#this.getCityName(Eval("CityID").ToString()).Replace("市", "")%></a></td>
                        </tr>
                        <tr>
                          <td height="24" align="center"><img src="images/ico_3.jpg" width="18" height="17" /></td>
                          <td class="bt_h_12"><%#Eval("Mobile") %></td>
                        </tr>
                      </table></td>
                    </tr>
                  </table>
                </ItemTemplate>
              </asp:Repeater></td>
        </tr>
    </table>
      <table width="200" border="0" cellpadding="0" cellspacing="0" class="bt_bj_19" style="margin-top:12px">
        <tr>
          <td height="30"><span class="bt_h_14" style="padding-left:12px">律师积分排行榜</span></td>
          <td width="60" align="right" style="padding-right:4px">更多&gt;&gt;</td>
        </tr>
    </table>
      <table width="200" border="0" cellpadding="0" cellspacing="0" class="bk_xzy">
        <tr>
          <td height="284" valign="top">
              <asp:Repeater ID="lawyerPoint_List" runat="server">
                <ItemTemplate>
                    <table width="190" border="0" align="center" cellpadding="0" cellspacing="0">
                        <tr>
                          <td width="25" height="28" align="center" class="bt_12_c"><%#Container.ItemIndex + 1 %>.</td>
                          <td width="50" class="l_27"><a href="<%#this.getDemain %>/lawyeruser/lawyer.aspx?id=<%#Eval("ID") %>" class="message"><%#Eval("RealName") %></a></td>
                          <td width="60"><%#Eval("Point") %>分</td>
                          <td class="jh_12"><a href="<%#this.getDemain %>/lawyeruser/lawyer.aspx?id=<%#Eval("ID") %>" class="linkcolor1">点击咨询</a></td>
                        </tr>
                      </table>
                </ItemTemplate>
              </asp:Repeater></td>
        </tr>
    </table>
      <table width="200" border="0" cellpadding="0" cellspacing="0" class="bt_bj_19" style="margin-top:12px">
        <tr>
          <td height="30"><span class="bt_h_14" style="padding-left:12px">求职信息</span></td>
          <td width="60" align="right" style="padding-right:4px"><a href="/job/WantedList.aspx">更多&gt;&gt;</a></td>
        </tr>
      </table>
      <table width="200" border="0" cellpadding="0" cellspacing="0" class="bk_xzy">
        <tr>
          <td height="224" valign="top">
              <asp:Repeater ID="want_list" runat="server">
                <ItemTemplate>
                    <table width="184" border="0" align="center" cellpadding="0" cellspacing="0">
                        <tr>
                          <td height="28">◎ <a href="/job/WantedContent.aspx?id=<%#Eval("ID") %>"><%#Eval("JobsName") %></a></td>
                          <td width="60" align="right"><%#Eval("Names") %></td>
                        </tr>
                      </table>
                </ItemTemplate>
              </asp:Repeater>
            </td>
        </tr>
    </table></td>
  </tr>
</table>
<uc2:end ID="end1" runat="server" />
</body>
</html>